<div id="DeveloperBaseInfo" style="margin:15px">
    <div class="row">
        <div class="col-md-6" style="padding-right:7px;height: 250px">
            <div class="sub-wrap" style="height: 250px">
                <div class="head">
                    <span class="text-primary">开发者信息</span>
                </div>
                <div class="detail">
                    <p><span>欢迎您：</span><i>{{UserMessage.userName}}</i></p>
                    <!--<p><span>上次登录IP地址：</span><i>{{UserMessage.lastLoginIp}}</i></p>-->
                    <!--<p><span>上次登录时间：</span><i>{{UserMessage.lastLoginTime}}</i></p>-->
                    <p><span>clientId：</span><i>{{UserClientInfo.clientId}}</i></p>
                    <p><span>clientSecret：</span><i>{{UserClientInfo.clientSecret}}</i></p>
                </div>
            </div>
        </div>
        <div class="col-md-6" style="padding-left:7px;">
            <div class="sub-wrap" style="height: 250px">
                <div class="head">
                    <span class="text-primary">财务状况</span>
                </div>
                <div class="detail">
                    <p><span>账户余额（元）：</span><i>11,540</i></p>
                    <p><span>现金余额（元）：</span><i>20,210</i></p>
                    <p><span>优惠余额（元）：</span><i>503</i></p>
                    <p><span>昨日消费（元）：</span><i>241</i></p>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="table-responsive col-md-12">
            <div class="sub-wrap">
                <div class="head">
                    <span class="text-primary">我的应用</span>
                </div>
                <table class="table table-manager">
                    <thead>
                    <tr>
                        <th>
                            应用图标
                        </th>
                        <th>
                            应用名称
                        </th>
                        <th>
                            状态
                        </th>
                        <th>
                            对象
                        </th>
                        <th>
                            下载量
                        </th>
                        <th>
                            申请日期
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="item in Apps">
                        <td><img lazy-src="{{imgApi+item.icon}}" onerror="javascript:this.src='src/imgs/img-fail.png';"
                                 alt="图标" width="38" height="38"></td>
                        <td style="text-align: left;padding-left:10px;">{{item.appName}}</td>
                        <td class="text-danger" ng-if="item.status == 0">待审核</td>
                        <td class="text-success" ng-if="item.status == 1">已通过</td>
                        <td class="text-info" ng-if="item.status == -1">未通过</td>
                        <td>{{item.useObject}}</td>
                        <td>{{item.userNumber}}次</td>
                        <td>{{item.updateTime | limitTo:19}}</td>
                    </tr>
                    </tbody>
                </table>

            </div>
        </div>
    </div>
</div>
<style>
    .sub-wrap{
        background-color: #fff;
        padding:15px;
    }
    .sub-wrap .head{
        height: 50px;
        border-bottom: 1px solid #ececec;
        margin-bottom: 15px;
    }
    .sub-wrap .head span{
        font-size:16px;
        font-weight:bold;
        display:inline-block;
    }
    .sub-wrap .head span i{
        font-size: 18px;
        margin-right: 10px;
    }
    .detail {
        font-size: 14px;
    }
    .detail  p {
        line-height: 38px;
        margin: 0;
    }
    .detail  p span {
        display: inline-block;
        width: 120px;
    }
    .detail  p  i {
        color: #4e97d9;
    }
</style>